from conans import ConanFile, CMake

class OpenglDependency(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    # comma-separated list of requirements
    requires = "glfw/3.3.2@bincrafters/stable", "glm/0.9.9.5@g-truc/stable", "stb/20190512@conan/stable", "imgui/1.73@bincrafters/stable", "assimp/5.0.1" 
    generators = {"cmake", "txt"}
    default_options = {
            "assimp:shared":                  True,
            "assimp:double_precision":        False,
            "assimp:with_3d":                 False,
            "assimp:with_3ds":                False,
            "assimp:with_3ds_exporter":       False,
            "assimp:with_3mf":                False,
            "assimp:with_3mf_exporter":       False,
            "assimp:with_ac":                 False,
            "assimp:with_amf":                False,
            "assimp:with_ase":                False,
            "assimp:with_assbin":             False,
            "assimp:with_assbin_exporter":    False,
            "assimp:with_assjson_exporter":   False,
            "assimp:with_assxml_exporter":    False,
            "assimp:with_b3d":                False,
            "assimp:with_blend":              True,
            "assimp:with_bvh":                True,
            "assimp:with_cob":                False,
            "assimp:with_collada":            False,
            "assimp:with_collada_exporter":   False,
            "assimp:with_csm":                True,
            "assimp:with_dxf":                True,
            "assimp:with_fbx":                True,
            "assimp:with_fbx_exporter":       True,
            "assimp:with_gltf":               True,
            "assimp:with_gltf_exporter":      True,
            "assimp:with_hmp":False,
            "assimp:with_ifc":False,
            "assimp:with_irr":False,
            "assimp:with_irrmesh":False,
            "assimp:with_lwo":False,
            "assimp:with_lws":False,
            "assimp:with_md2":False,
            "assimp:with_md3":False,
            "assimp:with_md5":False,
            "assimp:with_mdc":False,
            "assimp:with_mdl":False,
            "assimp:with_mmd":False,
            "assimp:with_ms3d":False,
            "assimp:with_ndo":False,
            "assimp:with_nff":False,
            "assimp:with_obj":True,
            "assimp:with_obj_exporter":True,
            "assimp:with_off":False,
            "assimp:with_ogre":False,
            "assimp:with_opengex":False,
            "assimp:with_opengex_exporter":False,
            "assimp:with_ply":False,
            "assimp:with_ply_exporter":False,
            "assimp:with_q3bsp":False,
            "assimp:with_q3d":False,
            "assimp:with_raw":False,
            "assimp:with_sib":False,
            "assimp:with_smd":False,
            "assimp:with_step":False,
            "assimp:with_step_exporter":False,
            "assimp:with_stl":False,
            "assimp:with_stl_exporter":False,
            "assimp:with_terragen":False,
            "assimp:with_x":False,
            "assimp:with_x3d":False,
            "assimp:with_x3d_exporter":False,
            "assimp:with_x_exporter":False,
            "assimp:with_xgl":False,
            "irrxml:shared":True,
            "zlib:shared":True,
        }

    def imports(self):
      self.copy("*.dll", dst="../build-vscode/bin", src="bin") # From bin to bin

